package com.bookstore.client.product.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.bookstore.commons.beans.Notice;
import com.bookstore.commons.beans.Product;

public interface IProductDao {

	List<Product> selectProductByCategory(Map<String, Object> map);

	int selectProductByCategoryCount(@Param("category")String category);

	int selectProductByNameCount(@Param("name")String name);

	List<Product> selectProductByName(Map<String, Object> map);

	Product selectProductById(String id);

	Notice selectRecentNotice();

	List<Product> selectWeekHostProduct();
	
	

}
